﻿namespace CADSecondDevelopTemplate.ViewModels;

public partial class MainViewModel : ObservableObject
{
    public static MainViewModel Default => new();

    [ObservableProperty]
    private MainModel mModel = new();

    [RelayCommand]
    private void ButtonClick(string name)
    {
        MModel.TextBoxText = name;
    }
}
